from django.conf.urls import patterns, include, url

#flagship.index.list
urlpatterns = patterns('',
                       
                       
    url(r'^tinyshop/login', 'store.views.tinyshoplogin', name='store.tinyshop.login'),             
    url(r'^tinyshop/create$', 'store.views.tinyshopcreate', name='store.tinyshop.create'),
    url(r'^tinyshop/update', 'store.views.tinyshopupdate', name='store.tinyshop.update'),
    url(r'^tinyshop/detail$', 'store.views.tinyshopdetail', name='store.tinyshop.detail'),
    url(r'^tinyshop/search', 'store.views.tinyshopsearch', name='store.tinyshop.search'),
    url(r'^tinyshop/imagecreate', 'store.views.tinyshopimagecreate', name='store.tinyshop.imagecreate'),
    
    

    url(r'^product/image/create$', 'store.views.productimagecreate', name='store.product.imagecreate'),
    
    url(r'^product/create$', 'store.views.productcreate', name='store.product.create'),
    url(r'^product/delete$', 'store.views.productdelete', name='store.product.delete'),
    url(r'^product/detail', 'store.views.productdetail', name='store.product.detail'),
    url(r'^product/update$', 'store.views.productupdate', name='store.product.update'),
    url(r'^product/list$', 'store.views.productlist', name='store.product.list'),

    url(r'^order/submit$', 'store.views.ordersubmit', name='store.order.submit'),
    url(r'^order/notify$', 'store.views.ordernotify', name='store.order.notify'),
    
    
    url(r'^order/get', 'store.views.orderget', name='store.order.get'),
    
    
    url(r'^order/list$', 'store.views.orderlist', name='store.order.list'),
    url(r'^order/detail$', 'store.views.orderdetail', name='store.order.detail'),
    url(r'^order/update$', 'store.views.orderupdate', name='store.order.update'),
    # url(r'^blog/', include('blog.urls')),s
    
    url(r'^myorder/list$', 'store.views.myorderlist', name='store.myorder.list'),
    url(r'^myorder/detail$', 'store.views.myorderdetail', name='store.myorder.detail'),
    url(r'^myorder/update$', 'store.views.myorderupdate', name='store.myorder.update'),

    url(r'^goods/category$', 'store.views.goodscategory', name='store.goods.category'),
    url(r'^goods/lib$', 'store.views.goodslib', name='store.goods.lib'),
    url(r'^goods/detail', 'store.views.goodsdetail', name='store.goods.detail'),

    #tests
    url(r'^tests/tinyshop/create$', "store.views.tinytest", name='store.test.test'),
    url(r'^tests$', "store.views.test"),
    
    url(r'^report/dashboard$', 'store.views.reportdashboard', name='store.report.dashboard'),
    url(r'^report/days', 'store.views.reportdays', name='store.report.reportdays'),
    url(r'^report/products', 'store.views.reportproducts', name='store.report.products'),
    
)
